/*
 * 专家表
 */

package models;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Column;
import javax.persistence.Table;

import play.db.jpa.Model;


@Entity 
@Table(name="FWSQ_Expert")
public class Expert extends Model {
	
	//public Integer Code;//ID号
	public String Name;
        @ManyToOne
	public HeadShip Type;//职称
        @ManyToOne
	public Title title;//职位
        @ManyToOne
	public Dept dept;//部门
        @Column(name="PIC",columnDefinition="image")
	public String PIC;//照片
       @Column(name="Info",columnDefinition="ntext")
	public String Info;//简介
	public String InputCode;//输入码
	public String MYFlag;//专家标识
	public String ExperBit;//人员类别
	public Integer SerialNo;//序列号
	
	public void setPIC(String pic){
		this.PIC = pic;
	}
        

}
